package cn.anecansaitin.whimsy.common.register;

import cn.anecansaitin.whimsy.Whimsy;
import cn.anecansaitin.whimsy.common.item.*;
import cn.anecansaitin.whimsy.common.item.handcannon.HandCannon;
import net.minecraft.core.registries.Registries;
import net.minecraft.world.item.Item;
import net.neoforged.neoforge.registries.DeferredHolder;
import net.neoforged.neoforge.registries.DeferredRegister;

public class ModItems {
    public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(Registries.ITEM, Whimsy.MODID);
    public static final DeferredHolder<Item, RockSceptre> ROCK_SCEPTRE = ITEMS.register("rock_sceptre", RockSceptre::new);
    public static final DeferredHolder<Item, Item> ROCK_SCEPTRE_HANDLE = ITEMS.register("rock_sceptre_handle", () -> new Item(new Item.Properties()));
    public static final DeferredHolder<Item, Item> ROCK_SCEPTRE_CAP = ITEMS.register("rock_sceptre_cap", () -> new Item(new Item.Properties()));
    public static final DeferredHolder<Item, DioriteAltarBuilder> DIORITE_ALTAR_BUILDER = ITEMS.register("diorite_altar_builder", DioriteAltarBuilder::new);
    public static final DeferredHolder<Item, PhantasmArrowItem> PHANTASM_ARROW_ITEM = ITEMS.register("phantasm_arrow_item", PhantasmArrowItem::new);
    public static final DeferredHolder<Item, NanoWrench> NANO_WRENCH = ITEMS.register("nano_wrench", NanoWrench::new);
    public static final DeferredHolder<Item, HandCannon> HAND_CANNON = ITEMS.register("hand_cannon", HandCannon::new);
    public static final DeferredHolder<Item, Doomfist> DOOMFIST = ITEMS.register("doomfist", Doomfist::new);
}
